package com.SH.mapper;


import com.SH.pojo.User;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserMapper {

    public Boolean addUser(User user);

    public User getUserByName(String username);

    public List<User> getUsers();

    public User getUserById(Integer id);

    public Boolean updateUser(User user);

    public List<String> getRoles();

    public Boolean deleteUser(Integer id);

}
